package com.yiren.dbaa.module.practice_set.line.contract;

import com.yiren.backstage.currency.entity.LineInfoEntity;
import com.yiren.dbaa.currency.api.CommonCallBack;

/**
 * @author lwb
 * @date : 2022/11/16 9:29
 * @description: 已公开线路
 */
public interface OpenLineContract {

    interface Presenter {
        /**
         * 加载已公开线路列表
         * @return
         */
        void loadOpenLine(String siteCode,CommonCallBack callBack);

        /**
         * 设置线路启用和停用状态
         */
        void setLineState(int state,LineInfoEntity lineInfo,CommonCallBack callBack);

    }
    interface Model {
        /**
         * 设置线路启用和停用状态
         */
        void changeLineState(int state, LineInfoEntity lineInfo, CommonCallBack callBack);

    }

    interface View {

    }


}
